package cn.admin.remoting;

public interface ResponseFuture {

    Object ASYN_NOT_DONE = new Object();

    long requestId();

    boolean isDone();

    Object get() throws TimeoutException,RemotingException,InterruptedException;

    Object get(long timeout) throws TimeoutException,RemotingException,InterruptedException;

}
